SSH problem

您所在的位置:网站首页 michael page hiring solarwind SSH problem

SSH problem

2023-09-09 03:24| 来源: 网络整理| 查看: 265

It's because somehow the permissions of the files inside /etc/ssh have changed... So change the permission of the files like the example given below:

use:

chmod 644 ssh_config chmod 600 moduli

and so on...

Finally the file permissions should look like something like given below,

[root@hostname ssh]# ls -latr total 172 -rw-r--r--. 1 root root 2047 Aug 12 2010 ssh_config -rw-------. 1 root root 125811 Aug 12 2010 moduli -rw-------. 1 root root 963 Mar 1 16:02 ssh_host_key -rw-r--r--. 1 root root 627 Mar 1 16:02 ssh_host_key.pub -rw-r--r--. 1 root root 382 Mar 1 16:02 ssh_host_rsa_key.pub -rw-------. 1 root root 1675 Mar 1 16:02 ssh_host_rsa_key -rw-r--r--. 1 root root 590 Mar 1 16:02 ssh_host_dsa_key.pub -rw-------. 1 root root 668 Mar 1 16:02 ssh_host_dsa_key -rw-------. 1 root root 3845 May 7 11:52 sshd_config

After changing the permissions try connecting from putty, should work fine..



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3